CleantalkSP\SpbctWP\AdminBannersModule\AdminBannersHandler S

Total Complexity 32
Dependencies 13
Dependents 12
Total lines 231
Lines of code 143
Logical lines of code 63
Comment lines 44
Methods 11
Properties 5

Methods 11

Method Rating Maintainability Complexity Lines of code
updateDismissedBannerData()
S
55 7 19
adminBarHasExclamationDueBanners()
S
50 6 32
dismissBanner()
S
53 5 21
__construct()
S
55 3 20
handle()
S
58 3 16
getJSONOfPostNotices()
S
58 2 16
addAttentionMark()
S
69 2 7
getUserId()
S
82 1 3
getUserToken()
S
82 1 3
getPluginSettingsLink()
S
82 1 3
isOnSpbcSettingsPage()
S
79 1 3